package com.atguigu.yygh.hosp.repo;

import com.atguigu.yygh.hosp.bean.Actor;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;


public interface ActorRepo extends MongoRepository<Actor,String> {

    List<Actor> findByActorName(String name);

    List<Actor> findByActorNameLikeAndGender(String name,Boolean gender);
}
